﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace University.Workshop.Model
{
    public class ExpenseControl
    {
        public DateTime DateRegistry { get; set; }
        [ForeignKey("User")]
        public string UserId { get; set; }
        public DateTime SpendDate { get; set; }
        public short ExpenseType { get; set; }
        public decimal expensePaymentAmount { get; set; }
        public int Amount {get; set;}

        public string StringExpenseType { get; set; }
        public bool IsWaterExpense { get; set; }

        public virtual User User{get; set;}
    }
}
